package com.bianguo.android.apushdemo.entity;

import com.google.gson.annotations.SerializedName;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2017/4/25.
 */

@Entity
public class Subject {

    @Transient
    @SerializedName("rating")
    private Rating rating;
    @SerializedName("title")
    private String title;
    @Transient
    @SerializedName("images")
    private Images images;

    @Generated(hash = 1175851524)
    public Subject(String title) {
        this.title = title;
    }

    @Generated(hash = 1617906264)
    public Subject() {
    }

    public Rating getRating() {
        return rating;
    }

    public void setRating(Rating rating) {
        this.rating = rating;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Images getImages() {
        return images;
    }

    public void setImages(Images images) {
        this.images = images;
    }
}
